package com.lastcrdg.testdagger;

import dagger.Module;
import dagger.Provides;

/**
 * author：liluo
 * e-mail：lastcrazysun@163.com
 * company：cusc
 * date：2017/8/25 15:46
 * description：
 */

@Module
public class MainModule {

    @Provides
    @PerActivity
    public Cloth getBlueCloth(){
        Cloth cloth = new Cloth();
        cloth.setColor("蓝色");
        return cloth;
    }
}
